<?php
/**
 * @author wangwei
 * @package simplez
 */
?>

<div id="sidebar" role="complementary">
	<ul>
		<?php 	/* Widgetized sidebar, if you have the plugin installed. */
				if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
		<li>
			<h2>搜索</h2>
			<?php get_search_form(); ?>
		</li>

		<!--
		<li><h2><?php _e('Author', 'kubrick'); ?></h2>
		<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
		</li>
		-->
	</ul>
	<ul role="navigation">
		<?php wp_list_pages('title_li=<h2>' . __('Pages', 'kubrick') . '</h2>' ); ?>

		<li><h2><?php _e('Archives', 'kubrick'); ?></h2>
			<ul>
			<?php wp_get_archives('type=monthly'); ?>
			</ul>
		</li>

		<?php wp_list_categories('show_count=1&title_li=<h2>' . __('Categories', 'kubrick') . '</h2>'); ?>
	</ul>
	<ul>
		<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
			<?php //wp_list_bookmarks(); ?>

			<li><h2><?php //_e('Meta', 'kubrick'); ?></h2>
			<ul>
				<?php //wp_register(); ?>
				<li><?php //wp_loginout(); ?></li>
				<?php /* 
				<li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional', 'kubrick'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>', 'kubrick'); ?></a></li>
				<li><a href="http://gmpg.org/xfn/"><abbr title="<?php _e('XHTML Friends Network', 'kubrick'); ?>"><?php _e('XFN', 'kubrick'); ?></abbr></a></li>
				<li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.', 'kubrick'); ?>">WordPress</a></li>
				*/?>
				<?php //wp_meta(); ?>
			</ul>
			</li>
		<?php } ?>

		<?php endif; ?>
	</ul>
</div>
